<!-- File: /app/View/Posts/edit.ctp -->

<h1 style="font-size: 25px; color: blue;">Edit Group</h1> <hr style="margin-bottom: 30px;">

<div class="post-edit action">
<?php
    echo $this->Form->create('Group', array('class' => 'centered'));
    echo $this->Form->input('name', array('label' => "Group name", 'placeholder' => $name));
    echo $this->Form->input('modified', array('type' => 'hidden'));
    echo $this->Form->submit('Update', array('class' => 'fg-white bg-orange', 'after' => $this->Html->link('Cancel', array('action' => 'view', $id), array('class'=>'button medium')))
                );
    echo $this->Form->end();
?>
</div>